Usage
cv.ses(target, dataset, kfolds = 10, folds = NULL, alphas = NULL, max_ks = NULL,
task = NULL, metric = NULL, modeler = NULL, ses_test = NULL, ncores = 1)
cv.mmpc(target, dataset, kfolds = 10, folds = NULL, alphas = NULL, max_ks = NULL,
task = NULL, metric = NULL, modeler = NULL, mmpc_test = NULL, ncores = 1)
Arguments
target
The target or class variable as in SES and MMPC.
dataset
The dataset object as in SES and MMPC.
kfolds
The number of the folds in the k-fold Cross Validation (integer).
folds
The folds of the data to use (a list generated by the function generateCVRuns TunePareto). If NULL the folds are created internally with the same function.
alphas
A vector of SES or MMPC thresholds hyper parameters used in CV. Default is c(0.1, 0.05, 0.01).
max_ks
A vector of SES or MMPC max_ks parameters used in CV. Default is c(3, 2).
task
A character ("C", "R" or "S"). It can be "C" for classification (logistic, multinomial or ordinal regression), "R" for regression (robust and non robust linear regression, median regression, poisson and negative binomial regression, beta regression), "S" for survival regresion (cox or Weibull regression).
metric
A metric function provided by the user. If NULL the following functions will be used: auc.mxm, mse.mxm, ci.mxm for classification, regression and survival analysis tasks, respectively. See details for more.
If you know what you have put it here to avoid the function chopsing somehting else.
modeler
A modeling function provided by the user. If NULL the following functions will be used: glm.mxm, lm.mxm, coxph.mxm for classification, regression and survival analysis tasks, respectively. See details for more.
If you know what you have put it here to avoid the function chopsing somehting else.
ses_test
A function object that defines the conditional independence test used in the SES function (see also SES help page). If NULL, testIndFisher, testIndLogistic and censIndLR are used for classification, regression and survival analysis tasks, respectively.
If you know what you have put it here to avoid the function chopsing somehting else.
mmpc_test
A function object that defines the conditional independence test used in the MMPC function (see also SES help page). If NULL, testIndFisher, testIndLogistic and censIndLR are used for classification, regression and survival analysis tasks, respectively.
ncores
This argument is valid only if you have a multi-threaded machine.